package sample.service.configure;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Configure {

	@Value("${server.port}")
	private String serverPort;
	@Value("${spring.application.name}")
	private String springApplicationName;
	@Value("${eureka.instance.hostname}")
	private String eurekaInstanceHostname;
	@Value("${replicas.hostname}")
	private String replicasHostname;
	@Value("${replicas.port}")
	private String replicasPort;
	
	
	public String getServerPort() {
		return serverPort;
	}
	public void setServerPort(String serverPort) {
		this.serverPort = serverPort;
	}
	public String getSpringApplicationName() {
		return springApplicationName;
	}
	public void setSpringApplicationName(String springApplicationName) {
		this.springApplicationName = springApplicationName;
	}
	public String getEurekaInstanceHostname() {
		return eurekaInstanceHostname;
	}
	public void setEurekaInstanceHostname(String eurekaInstanceHostname) {
		this.eurekaInstanceHostname = eurekaInstanceHostname;
	}
	public String getReplicasHostname() {
		return replicasHostname;
	}
	public void setReplicasHostname(String replicasHostname) {
		this.replicasHostname = replicasHostname;
	}
	public String getReplicasPort() {
		return replicasPort;
	}
	public void setReplicasPort(String replicasPort) {
		this.replicasPort = replicasPort;
	}
	

}
